/*----------------global.less(start)----------------*/
.events-none{
	pointer-events:none;
}
.events-auto{
	pointer-events:auto;
}
.noselect{
	-webkit-touch-callout:none;
	-webkit-user-select:none;
	-ms-user-select:none;
	-moz-user-select:none;
}
::selection{
	background:$primary-bg;
	color:$primary-color;
}
::-webkit-input-placeholder{
	color:$placeholder;	
}

/*标签默认样式*/
*{
	margin:0;
	padding:0;
}
html,body {
	height: 100%;
}
body{
	//ios点击时的半透明背景，设置它为透明色
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	//禁止文字自适应大小
	-webkit-text-size-adjust: none;
	//平滑滚动
	-webkit-overflow-scrolling:touch;

	font-size:$font-size-M;
	font-family:$font-family;

	color:$body-color;
	background-color:$body-bg;
	word-break: break-all;
	word-wrap: break-word;
}
.placeholder{
	color:$placeholder;
}
i,span,label,small{
	display:inline-block;
	vertical-align:middle;
}
button,input,select,option,textarea,pre{
	font-size:inherit;
	font-family:inherit;
}
button,input[type="button"],input[type="submit"],input[type="reset"]{
	/*为了兼容部分手机input[button]-webkit-inline-box水平居中不工作的问题*/
	display:inline-block;
}
textarea{
	resize:none;
}
ul,li,dl,dt,dd {
	list-style: none;
}
small{
	font-size:80%;

	color:$placeholder;
}
a{
	text-decoration:none;
	outline:none;
	cursor:pointer;
	display:inline-block; 

	color:$link;
	&:active{
        //color:$link-active;
    }
}
a,label, :focus{
	outline:0 none;
}
img {
  border: 0;
  vertical-align:middle;
}
abbr[title] {
  border-bottom: 1px dotted;
}
dfn {
  font-style: italic;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary{
	display:block;
}
pre{
	white-space:pre-wrap;
	white-space:-moz-pre-wrap;
	white-space:-pre-wrap;
	white-space:-o-pre-wrap;
	word-wrap:break-word;
}
.code{
	display: block;
	font-size: 13px;
	line-height: 1.42857143;
	word-break: break-all;
	word-wrap: break-word;
}
/*----------------global.less(end)----------------*/